.class public Lcom/xingbook/park/ui/s;
.super Landroid/widget/RelativeLayout;


# instance fields
.field private a:Landroid/widget/TextView;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/Button;

.field private f:Landroid/widget/Button;

.field private g:Landroid/app/Activity;


# direct methods
.method public constructor <init>(Landroid/app/Activity;F)V
    .locals 11
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    const/16 v10, 0x10

    const/4 v6, -0x2

    const/16 v9, 0x11

    const/4 v8, -0x1

    const/4 v7, 0x0

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-direct {p0, v0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object p1, p0, Lcom/xingbook/park/ui/s;->g:Landroid/app/Activity;

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v1, v8, v8}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {p0, v1}, Lcom/xingbook/park/ui/s;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    const/high16 v1, 0x7f00

    invoke-virtual {p0, v1}, Lcom/xingbook/park/ui/s;->setBackgroundColor(I)V

    new-instance v1, Lcom/xingbook/park/ui/t;

    invoke-direct {v1, p0}, Lcom/xingbook/park/ui/t;-><init>(Lcom/xingbook/park/ui/s;)V

    invoke-virtual {p0, v1}, Lcom/xingbook/park/ui/s;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v1, Landroid/widget/RelativeLayout;

    invoke-direct {v1, v0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    new-instance v2, Lcom/xingbook/park/ui/u;

    invoke-direct {v2, p0}, Lcom/xingbook/park/ui/u;-><init>(Lcom/xingbook/park/ui/s;)V

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v3, 0x4431

    mul-float/2addr v3, p2

    float-to-int v3, v3

    const v4, 0x44138000

    mul-float/2addr v4, p2

    float-to-int v4, v4

    invoke-direct {v2, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v3, 0xd

    invoke-virtual {v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {p0, v1}, Lcom/xingbook/park/ui/s;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/view/View;

    invoke-direct {v2, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    sget v3, Landroid/os/Build$VERSION;->SDK_INT:I

    if-lt v3, v10, :cond_0

    const v3, 0xffffff

    const/high16 v4, 0x41a0

    mul-float/2addr v4, p2

    float-to-int v4, v4

    const v5, -0x27cbc9

    invoke-static {v7, v3, v4, v5}, Lcom/xingbook/park/ui/aa;->a(IIII)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable;)V

    :goto_0
    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v3, v8, v8}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/high16 v4, 0x4208

    mul-float/2addr v4, p2

    float-to-int v4, v4

    iput v4, v3, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    invoke-virtual {v2, v3}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/TextView;

    invoke-direct {v2, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/park/ui/s;->a:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->a:Landroid/widget/TextView;

    const v3, -0x55000001

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->a:Landroid/widget/TextView;

    const/high16 v3, 0x421c

    mul-float/2addr v3, p2

    invoke-virtual {v2, v7, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->a:Landroid/widget/TextView;

    const-string v3, "\u6b22\u8fce\u56de\u6765\uff0c\u60a8\u4eca\u5929\u53ef\u4ee5\u9886\u53d6"

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->a:Landroid/widget/TextView;

    invoke-virtual {v2, v9}, Landroid/widget/TextView;->setGravity(I)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v2, v8, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/high16 v3, 0x4316

    mul-float/2addr v3, p2

    float-to-int v3, v3

    iput v3, v2, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v3, p0, Lcom/xingbook/park/ui/s;->a:Landroid/widget/TextView;

    invoke-virtual {v3, v2}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->a:Landroid/widget/TextView;

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/TextView;

    invoke-direct {v2, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/park/ui/s;->b:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->b:Landroid/widget/TextView;

    invoke-virtual {v2, v9}, Landroid/widget/TextView;->setGravity(I)V

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->b:Landroid/widget/TextView;

    const/high16 v3, 0x4220

    mul-float/2addr v3, p2

    invoke-virtual {v2, v7, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v2, v8, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/high16 v3, 0x4350

    mul-float/2addr v3, p2

    float-to-int v3, v3

    iput v3, v2, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v3, p0, Lcom/xingbook/park/ui/s;->b:Landroid/widget/TextView;

    invoke-virtual {v3, v2}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->b:Landroid/widget/TextView;

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v2, Landroid/widget/TextView;

    invoke-direct {v2, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/park/ui/s;->c:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->c:Landroid/widget/TextView;

    const v3, -0x55000001

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->c:Landroid/widget/TextView;

    const/high16 v3, 0x41f8

    mul-float/2addr v3, p2

    invoke-virtual {v2, v7, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->c:Landroid/widget/TextView;

    const-string v3, "\u7b2c\u4e00\u5929\u767b\u5f5510\u91d1\u5e01\uff0c\u7b2c\u4e8c\u5929\u767b\u5f55\u53ef\u83b7\u5f9720\u91d1\u5e01\n\u8fde\u7eed\u767b\u5f555\u5929\uff0c\u6bcf\u5929\u53ef\u83b7\u5f9750\u91d1\u5e01~"

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->c:Landroid/widget/TextView;

    invoke-virtual {v2, v9}, Landroid/widget/TextView;->setGravity(I)V

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v2, v8, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/high16 v3, 0x43ac

    mul-float/2addr v3, p2

    float-to-int v3, v3

    iput v3, v2, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v3, p0, Lcom/xingbook/park/ui/s;->c:Landroid/widget/TextView;

    invoke-virtual {v3, v2}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->c:Landroid/widget/TextView;

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    const/high16 v2, 0x421c

    mul-float/2addr v2, p2

    float-to-int v2, v2

    const v3, 0xffffff

    const/high16 v4, 0x4170

    mul-float/2addr v4, p2

    float-to-int v4, v4

    const/16 v5, -0x5ab0

    invoke-static {v7, v3, v4, v5}, Lcom/xingbook/park/ui/aa;->a(IIII)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v3

    new-instance v4, Landroid/widget/Button;

    invoke-direct {v4, v0}, Landroid/widget/Button;-><init>(Landroid/content/Context;)V

    iput-object v4, p0, Lcom/xingbook/park/ui/s;->e:Landroid/widget/Button;

    iget-object v4, p0, Lcom/xingbook/park/ui/s;->e:Landroid/widget/Button;

    invoke-virtual {v4, v7, v7, v7, v7}, Landroid/widget/Button;->setPadding(IIII)V

    sget v4, Landroid/os/Build$VERSION;->SDK_INT:I

    if-lt v4, v10, :cond_1

    iget-object v4, p0, Lcom/xingbook/park/ui/s;->e:Landroid/widget/Button;

    invoke-virtual {v4, v3}, Landroid/widget/Button;->setBackground(Landroid/graphics/drawable/Drawable;)V

    :goto_1
    iget-object v4, p0, Lcom/xingbook/park/ui/s;->e:Landroid/widget/Button;

    invoke-virtual {v4, v8}, Landroid/widget/Button;->setTextColor(I)V

    iget-object v4, p0, Lcom/xingbook/park/ui/s;->e:Landroid/widget/Button;

    const/high16 v5, 0x4210

    mul-float/2addr v5, p2

    invoke-virtual {v4, v7, v5}, Landroid/widget/Button;->setTextSize(IF)V

    iget-object v4, p0, Lcom/xingbook/park/ui/s;->e:Landroid/widget/Button;

    const-string v5, "\u786e\u5b9a"

    invoke-virtual {v4, v5}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    new-instance v4, Landroid/widget/RelativeLayout$LayoutParams;

    const v5, 0x43938000

    mul-float/2addr v5, p2

    float-to-int v5, v5

    const/high16 v6, 0x42b8

    mul-float/2addr v6, p2

    float-to-int v6, v6

    invoke-direct {v4, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/high16 v5, 0x43dc

    mul-float/2addr v5, p2

    float-to-int v5, v5

    iput v5, v4, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iput v2, v4, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v5, p0, Lcom/xingbook/park/ui/s;->e:Landroid/widget/Button;

    invoke-virtual {v5, v4}, Landroid/widget/Button;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v4, p0, Lcom/xingbook/park/ui/s;->e:Landroid/widget/Button;

    invoke-virtual {v1, v4}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    iget-object v4, p0, Lcom/xingbook/park/ui/s;->e:Landroid/widget/Button;

    new-instance v5, Lcom/xingbook/park/ui/v;

    invoke-direct {v5, p0}, Lcom/xingbook/park/ui/v;-><init>(Lcom/xingbook/park/ui/s;)V

    invoke-virtual {v4, v5}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v4, Landroid/widget/Button;

    invoke-direct {v4, v0}, Landroid/widget/Button;-><init>(Landroid/content/Context;)V

    iput-object v4, p0, Lcom/xingbook/park/ui/s;->f:Landroid/widget/Button;

    iget-object v4, p0, Lcom/xingbook/park/ui/s;->f:Landroid/widget/Button;

    invoke-virtual {v4, v7, v7, v7, v7}, Landroid/widget/Button;->setPadding(IIII)V

    sget v4, Landroid/os/Build$VERSION;->SDK_INT:I

    if-lt v4, v10, :cond_2

    iget-object v4, p0, Lcom/xingbook/park/ui/s;->f:Landroid/widget/Button;

    invoke-virtual {v4, v3}, Landroid/widget/Button;->setBackground(Landroid/graphics/drawable/Drawable;)V

    :goto_2
    iget-object v3, p0, Lcom/xingbook/park/ui/s;->f:Landroid/widget/Button;

    invoke-virtual {v3, v8}, Landroid/widget/Button;->setTextColor(I)V

    iget-object v3, p0, Lcom/xingbook/park/ui/s;->f:Landroid/widget/Button;

    const/high16 v4, 0x4210

    mul-float/2addr v4, p2

    invoke-virtual {v3, v7, v4}, Landroid/widget/Button;->setTextSize(IF)V

    iget-object v3, p0, Lcom/xingbook/park/ui/s;->f:Landroid/widget/Button;

    const-string v4, "\u66f4\u591a\u91d1\u5e01>"

    invoke-virtual {v3, v4}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    const v4, 0x43938000

    mul-float/2addr v4, p2

    float-to-int v4, v4

    const/high16 v5, 0x42b8

    mul-float/2addr v5, p2

    float-to-int v5, v5

    invoke-direct {v3, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v4, 0xb

    invoke-virtual {v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    const/high16 v4, 0x43dc

    mul-float/2addr v4, p2

    float-to-int v4, v4

    iput v4, v3, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iput v2, v3, Landroid/widget/RelativeLayout$LayoutParams;->rightMargin:I

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->f:Landroid/widget/Button;

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->f:Landroid/widget/Button;

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->f:Landroid/widget/Button;

    new-instance v3, Lcom/xingbook/park/ui/w;

    invoke-direct {v3, p0}, Lcom/xingbook/park/ui/w;-><init>(Lcom/xingbook/park/ui/s;)V

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v2, Landroid/widget/TextView;

    invoke-direct {v2, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/xingbook/park/ui/s;->d:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/park/ui/s;->d:Landroid/widget/TextView;

    const v2, 0x7f020294

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setBackgroundResource(I)V

    iget-object v0, p0, Lcom/xingbook/park/ui/s;->d:Landroid/widget/TextView;

    invoke-virtual {v0, v9}, Landroid/widget/TextView;->setGravity(I)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const v2, 0x44044000

    mul-float/2addr v2, p2

    float-to-int v2, v2

    const/high16 v3, 0x42d0

    mul-float/2addr v3, p2

    float-to-int v3, v3

    invoke-direct {v0, v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v2, 0xe

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->d:Landroid/widget/TextView;

    const/high16 v3, 0x428c

    mul-float/2addr v3, p2

    invoke-virtual {v2, v7, v3}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->d:Landroid/widget/TextView;

    const/4 v3, 0x1

    invoke-static {v3}, Landroid/graphics/Typeface;->defaultFromStyle(I)Landroid/graphics/Typeface;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V

    iget-object v2, p0, Lcom/xingbook/park/ui/s;->d:Landroid/widget/TextView;

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/park/ui/s;->d:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    return-void

    :cond_0
    const v3, 0xffffff

    const/high16 v4, 0x41a0

    mul-float/2addr v4, p2

    float-to-int v4, v4

    const v5, -0x27cbc9

    invoke-static {v7, v3, v4, v5}, Lcom/xingbook/park/ui/aa;->a(IIII)Landroid/graphics/drawable/GradientDrawable;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto/16 :goto_0

    :cond_1
    iget-object v4, p0, Lcom/xingbook/park/ui/s;->e:Landroid/widget/Button;

    invoke-virtual {v4, v3}, Landroid/widget/Button;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto/16 :goto_1

    :cond_2
    iget-object v4, p0, Lcom/xingbook/park/ui/s;->f:Landroid/widget/Button;

    invoke-virtual {v4, v3}, Landroid/widget/Button;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto/16 :goto_2
.end method

.method static synthetic a(Lcom/xingbook/park/ui/s;)Landroid/app/Activity;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/ui/s;->g:Landroid/app/Activity;

    return-object v0
.end method

.method public static a(Landroid/app/Activity;Landroid/widget/RelativeLayout;FLjava/lang/String;ILjava/lang/String;Ljava/lang/String;)V
    .locals 14

    new-instance v1, Lcom/xingbook/park/ui/s;

    move/from16 v0, p2

    invoke-direct {v1, p0, v0}, Lcom/xingbook/park/ui/s;-><init>(Landroid/app/Activity;F)V

    invoke-virtual {p1, v1}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    if-eqz p3, :cond_0

    iget-object v2, v1, Lcom/xingbook/park/ui/s;->a:Landroid/widget/TextView;

    move-object/from16 v0, p3

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    if-eqz p6, :cond_1

    iget-object v2, v1, Lcom/xingbook/park/ui/s;->c:Landroid/widget/TextView;

    move-object/from16 v0, p6

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_1
    new-instance v2, Landroid/text/SpannableStringBuilder;

    invoke-direct {v2}, Landroid/text/SpannableStringBuilder;-><init>()V

    invoke-virtual {v2}, Landroid/text/SpannableStringBuilder;->length()I

    move-result v3

    const-string v4, "[icon]"

    invoke-virtual {v2, v4}, Landroid/text/SpannableStringBuilder;->append(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;

    invoke-virtual {v2}, Landroid/text/SpannableStringBuilder;->length()I

    move-result v4

    invoke-virtual {v2}, Landroid/text/SpannableStringBuilder;->length()I

    move-result v5

    const-string v6, " "

    invoke-virtual {v2, v6}, Landroid/text/SpannableStringBuilder;->append(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;

    invoke-static/range {p4 .. p4}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v2, v6}, Landroid/text/SpannableStringBuilder;->append(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;

    invoke-virtual {v2}, Landroid/text/SpannableStringBuilder;->length()I

    move-result v6

    invoke-virtual {v2}, Landroid/text/SpannableStringBuilder;->length()I

    move-result v7

    const-string v8, "  "

    invoke-virtual {v2, v8}, Landroid/text/SpannableStringBuilder;->append(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;

    move-object/from16 v0, p5

    invoke-virtual {v2, v0}, Landroid/text/SpannableStringBuilder;->append(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;

    invoke-virtual {v2}, Landroid/text/SpannableStringBuilder;->length()I

    move-result v8

    invoke-virtual {p0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v9

    invoke-virtual {v9}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v9

    const v10, 0x7f0202bb

    invoke-virtual {v9, v10}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v9

    if-eqz v9, :cond_2

    const/4 v10, 0x0

    const/4 v11, 0x0

    const/high16 v12, 0x42a8

    mul-float v12, v12, p2

    float-to-int v12, v12

    const/high16 v13, 0x42b0

    mul-float v13, v13, p2

    float-to-int v13, v13

    invoke-virtual {v9, v10, v11, v12, v13}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    new-instance v10, Landroid/text/style/ImageSpan;

    const/4 v11, 0x1

    invoke-direct {v10, v9, v11}, Landroid/text/style/ImageSpan;-><init>(Landroid/graphics/drawable/Drawable;I)V

    const/16 v9, 0x21

    invoke-virtual {v2, v10, v3, v4, v9}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V

    :cond_2
    new-instance v3, Landroid/text/style/ForegroundColorSpan;

    const v4, -0x812d8

    invoke-direct {v3, v4}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V

    const/16 v4, 0x21

    invoke-virtual {v2, v3, v5, v6, v4}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V

    new-instance v3, Landroid/text/style/RelativeSizeSpan;

    const v4, 0x3fe66666

    invoke-direct {v3, v4}, Landroid/text/style/RelativeSizeSpan;-><init>(F)V

    const/16 v4, 0x21

    invoke-virtual {v2, v3, v5, v6, v4}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V

    new-instance v3, Landroid/text/style/ForegroundColorSpan;

    const v4, -0x300da

    invoke-direct {v3, v4}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V

    const/16 v4, 0x21

    invoke-virtual {v2, v3, v7, v8, v4}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V

    iget-object v1, v1, Lcom/xingbook/park/ui/s;->b:Landroid/widget/TextView;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method
